(c) Cyco software, the Netherlands, januari 1989 . Routines to handle the environment of the parent proces. A normal DOS process only gets a copy of the original environment. Any changes made to that environment are only accessable to child programs (programs that the parent program runs). These routines may be used to change the environment of the parent. In most cases the parent process is COMMAND.COM, so with these routines you can build your own dos 'SET' statement. The example included at the bottom sets the current drive and directory in the environment variables DRV and CWD. In batch files they can be used with the %DRV% and %CWD% method. . Bart mellink 76702,256